import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/js/jquery.min'
import './assets/js/bootstrap.min'
import './assets/css/bootstrap.css'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import { Tooltip,Slider,Alert } from 'element-ui';
import VueLazyload from 'vue-lazyload';

Vue.config.productionTip = false;
Vue.use(VueLazyload,{
  loading:require('./assets/purewhite.jpg'),
  attempt:4
});
Vue.use(ElementUI);
Vue.use(Tooltip);
Vue.use(Slider);
Vue.use(Alert);
new Vue({
  router,
  store,
  render: h => h(App),
  mounted () {
    document.dispatchEvent(new Event('render-event'))
  }
}).$mount('#app')
